import { createApp } from 'vue'

// 引入element plus 及样式库
// 引入element plus 及样式库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import 'virtual:windi.css'

import router from './router/index.js'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'


import App from './App.vue'
const app = createApp(App)
app.use(ElementPlus)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
app.mount('#app')